package com.dstz.org.core.model.aimo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: chao_m
 * @CreateTime: 2019-9-9 10:17
 * @Description:
 */
@Data
@ApiModel(value = "CommonPlatform对象", description = "平台管理信息")
public class Platform implements Serializable {

	/**
	 * serialVersionUID.
	 */
	private static final long serialVersionUID = 9196537606083361288L;

	/**
	 * 平台Id.
	 */
	private long id;

	/**
	 * 平台名称.
	 */
	@ApiModelProperty(value = "平台名称")
	private String name;

	/**
	 * 建立人员名称.
	 */
	@ApiModelProperty(value = "录入人名称")
	private String creatorName;

	/**
	 * 建立部门ID.
	 */
	@ApiModelProperty(value = "录入部门ID")
	private long creatorDepartmentId;

	/**
	 * 建立部门名称
	 */
	@ApiModelProperty(value = "录入部门名称")
	private String creatorDepartmentName;

	/**
	 * 创建者ID.
	 */
	@ApiModelProperty(value = "录入人ID")
	private long creatorId;
	/**
	 * 平台编号.
	 */
	private int platformNo;

	/**
	 * 状态.
	 */
	@ApiModelProperty(value = "状态")
	private int status;

	/**
	 * 备注.
	 */
	@ApiModelProperty(value = "备注")
	private String remark;
	
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date createTime;
    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    public Date updateTime;
	
    @ApiModelProperty(value = "站点总数")
	private int siteCount;
    @ApiModelProperty(value = "店铺总数")
	private int shopCount;
    @ApiModelProperty(value = "运营人员总数")
	private int operateCount;


}
